package com.example.createservice.mapper;

import com.example.bean.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
public interface UserDao {

    @Insert("insert into user (name,password,phone) values (#{name},#{password},#{phone})")
    User insert(User user);
}
